import { Route,Switch } from 'legions/router';
import React from 'react';
import '../assets/css/theme.less';
import Todo from '../components/todo';
import ProjectEdit from './project.create';
import ProjectInit from './project.init';
import { TestHook } from './test';

export default class App extends React.Component<{}> {
    constructor(props: {}) {
        super(props)
    }
    render() {
        return (
            <Switch>
                {/* 111<Route path="/project/edit" component={ProjectEdit}></Route> */}
                <Route path="/luban/pj/init" component={ProjectInit}></Route>
                <Route path="/luban/pj/edit" component={ProjectEdit}></Route>
                <Route path="/test" component={TestHook}></Route>

                {/* <Route path="/admin" component={HomeManage}></Route> */}
                {/* <Route path="/" component={LcmTest}></Route> */}
                <Route component={Todo} />
            </Switch>
        );
    }
}
